package gui;

import javax.swing.JPanel;
import java.awt.GridLayout;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JComboBox;
import javax.swing.JSpinner;

public class FahrtEintragenEditor extends JPanel
{
	private JComboBox comboBox;
	private JSpinner fahrtDatum;

	/**
	 * Create the panel.
	 */
	public FahrtEintragenEditor()
	{
		setLayout(new GridLayout(4, 0, 0, 0));
		
		JPanel panel = new JPanel();
		add(panel);
		panel.setLayout(new GridLayout(0, 2, 0, 0));
		
		JLabel lblNewLabel = new JLabel("Fahrzeug w\u00E4hlen:");
		panel.add(lblNewLabel);
		
		comboBox = new JComboBox();
		panel.add(comboBox);
		
		JLabel lblNewLabel_1 = new JLabel("Datum:");
		panel.add(lblNewLabel_1);
		
//		fahrtDatum = new JSpinner();
//		fahrtDatum.setEditor(new JSpinner.DateEditor(fahrtDatum, "dd.MM.yyyy"));   
//		panel.add(fahrtDatum);
		

	}

}
